package com.taijihuabao.modules.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.taijihuabao.common.commonutils.LongToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import org.springframework.data.mongodb.core.mapping.Field;

/**
 * @author user
 */
@Data
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
@ToString(callSuper = true)
@ApiModel("label实体")
public class LabelEntity extends BaseEntity {

    /**
     * label
     */
    @Field(value = "label")
    @ApiModelProperty(value = "label")
    private String label;

    /**
     * value
     */
    @Field(value = "value")
    @ApiModelProperty(value = "value")
    private int value;

}
